﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace MaymuseMS.Models {
    public class Configuration {
        public int ConfigurationId { get; set; }
        [Required]
        [MaxLength(50)]
        public string Name { get; set; }
        [MaxLength(5000)]
        public string Remark { get; set; }

        public int ProductId { get; set; }
        public virtual Product Product { get; set; }

        public virtual IList<ConfigurationItem> ConfigurationItems { get; set; }
    }
}